package com.training.content.domain;

import com.training.common.annotation.Excel;
import com.training.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程信息对象 course_info
 * 
 * @author training
 * @date 2021-10-25
 */
public class CourseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 类别 1-视频 2-音频 3-文档 4-图文 */
    @Excel(name = "类别 1-视频 2-音频 3-文档 4-图文")
    private Long type;

    /** 上传地址 */
    @Excel(name = "上传地址")
    private String path;

    /** 后缀类型 */
    @Excel(name = "后缀类型")
    private String suffixType;

    /** 简介 */
    @Excel(name = "简介")
    private String introduction;

    /** 文稿 */
    @Excel(name = "文稿")
    private String content;

    /** 公司Id */
    @Excel(name = "公司Id")
    private Long companyId;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String creator;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }


    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setSuffixType(String suffixType) 
    {
        this.suffixType = suffixType;
    }

    public String getSuffixType() 
    {
        return suffixType;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("type", getType())
            .append("path", getPath())
            .append("suffixType", getSuffixType())
            .append("introduction", getIntroduction())
            .append("content", getContent())
            .append("companyId", getCompanyId())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
